package com.xmzgxcl.java202108.controller;

import com.xmzgxcl.java202108.entity.Employee;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/employee")
/**
 * 员工信息数据查询、数据操纵控制类
 */
public class EmployeeController {

    @RequestMapping("/insert")
    public String insert(Employee employee){
        //添加新员工核心代码
        return "";
    }

    @RequestMapping("/delete")
    public String delete(Employee employee){
        //删除离职员工核心代码
        return "";
    }

    @RequestMapping("/update")
    public String update(Employee employee){
        //修改员工信息核心代码
        return "";
    }

    @RequestMapping("/selectOne")
    public String selectOne(Employee employee){
        //查询指定员工信息核心代码
        return "";
    }

    @RequestMapping("/selectAll")
    public String selectAll(){
        //查询所有员工信息核心代码
        return "";
    }
}
